<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: SPI Transfer Status</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__scb__spi__macros__xfer__status.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">SPI Transfer Status<div class="ingroups"><a class="el" href="group__group__scb.html">SCB          (Serial Communication Block)</a> &raquo; <a class="el" href="group__group__scb__spi.html">SPI (SCB)</a> &raquo; <a class="el" href="group__group__scb__spi__macros.html">Macros</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>Macros to check current SPI transfer status returned by <a class="el" href="group__group__scb__spi__high__level__functions.html#ga95069817e25be749ae989e5d7131f8d0">Cy_SCB_SPI_GetTransferStatus</a> function. </p>
<p>Each SPI transfer status is encoded in a separate bit, therefore multiple bits may be set to indicate the current status. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gab024f7d6ed7cbaa36c80c904a6179de7"><td class="memItemLeft" align="right" valign="top"><a id="gab024f7d6ed7cbaa36c80c904a6179de7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__spi__macros__xfer__status.html#gab024f7d6ed7cbaa36c80c904a6179de7">CY_SCB_SPI_TRANSFER_ACTIVE</a>&#160;&#160;&#160;(0x01UL)</td></tr>
<tr class="memdesc:gab024f7d6ed7cbaa36c80c904a6179de7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transfer operation started by <a class="el" href="group__group__scb__spi__high__level__functions.html#ga6fdbb98ef7faddc5025fab510fb1617e">Cy_SCB_SPI_Transfer</a> is in progress. <br /></td></tr>
<tr class="separator:gab024f7d6ed7cbaa36c80c904a6179de7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa4ca473d46fce00ba5b03444ca60ea36"><td class="memItemLeft" align="right" valign="top"><a id="gaa4ca473d46fce00ba5b03444ca60ea36"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__spi__macros__xfer__status.html#gaa4ca473d46fce00ba5b03444ca60ea36">CY_SCB_SPI_TRANSFER_IN_FIFO</a>&#160;&#160;&#160;(0x02UL)</td></tr>
<tr class="memdesc:gaa4ca473d46fce00ba5b03444ca60ea36"><td class="mdescLeft">&#160;</td><td class="mdescRight">All data elements specified by <a class="el" href="group__group__scb__spi__high__level__functions.html#ga6fdbb98ef7faddc5025fab510fb1617e">Cy_SCB_SPI_Transfer</a> for transmission have been loaded into the TX FIFO. <br /></td></tr>
<tr class="separator:gaa4ca473d46fce00ba5b03444ca60ea36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac64acd05c615a1cda6b2ad92619db7e7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__spi__macros__xfer__status.html#gac64acd05c615a1cda6b2ad92619db7e7">CY_SCB_SPI_SLAVE_TRANSFER_ERR</a>&#160;&#160;&#160;(SCB_INTR_S_SPI_BUS_ERROR_Msk)</td></tr>
<tr class="memdesc:gac64acd05c615a1cda6b2ad92619db7e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">The slave was deselected at the wrong time.  <a href="#gac64acd05c615a1cda6b2ad92619db7e7">More...</a><br /></td></tr>
<tr class="separator:gac64acd05c615a1cda6b2ad92619db7e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga578207aae0035bf96d5cd00568122ddf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__spi__macros__xfer__status.html#ga578207aae0035bf96d5cd00568122ddf">CY_SCB_SPI_TRANSFER_OVERFLOW</a>&#160;&#160;&#160;(SCB_INTR_RX_OVERFLOW_Msk)</td></tr>
<tr class="memdesc:ga578207aae0035bf96d5cd00568122ddf"><td class="mdescLeft">&#160;</td><td class="mdescRight">RX FIFO was full and there was an attempt to write to it.  <a href="#ga578207aae0035bf96d5cd00568122ddf">More...</a><br /></td></tr>
<tr class="separator:ga578207aae0035bf96d5cd00568122ddf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7c92f535a370f799c8723b9f221329e8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__scb__spi__macros__xfer__status.html#ga7c92f535a370f799c8723b9f221329e8">CY_SCB_SPI_TRANSFER_UNDERFLOW</a>&#160;&#160;&#160;(SCB_INTR_TX_UNDERFLOW_Msk)</td></tr>
<tr class="memdesc:ga7c92f535a370f799c8723b9f221329e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applicable only for the slave mode.  <a href="#ga7c92f535a370f799c8723b9f221329e8">More...</a><br /></td></tr>
<tr class="separator:ga7c92f535a370f799c8723b9f221329e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="gac64acd05c615a1cda6b2ad92619db7e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac64acd05c615a1cda6b2ad92619db7e7">&#9670;&nbsp;</a></span>CY_SCB_SPI_SLAVE_TRANSFER_ERR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SCB_SPI_SLAVE_TRANSFER_ERR&#160;&#160;&#160;(SCB_INTR_S_SPI_BUS_ERROR_Msk)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The slave was deselected at the wrong time. </p>

</div>
</div>
<a id="ga578207aae0035bf96d5cd00568122ddf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga578207aae0035bf96d5cd00568122ddf">&#9670;&nbsp;</a></span>CY_SCB_SPI_TRANSFER_OVERFLOW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SCB_SPI_TRANSFER_OVERFLOW&#160;&#160;&#160;(SCB_INTR_RX_OVERFLOW_Msk)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>RX FIFO was full and there was an attempt to write to it. </p>
<p>This additional data was dropped. </p>

</div>
</div>
<a id="ga7c92f535a370f799c8723b9f221329e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7c92f535a370f799c8723b9f221329e8">&#9670;&nbsp;</a></span>CY_SCB_SPI_TRANSFER_UNDERFLOW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SCB_SPI_TRANSFER_UNDERFLOW&#160;&#160;&#160;(SCB_INTR_TX_UNDERFLOW_Msk)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Applicable only for the slave mode. </p>
<p>The master tried to read more data elements than available in the TX FIFO. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
